const GEEK_TOKEN = 'geek-pc-token'
// 获取token
export const getToken = () =>( localStorage.getItem(GEEK_TOKEN) || '')

// 设置token
export const setToken = (token) => localStorage.setItem(GEEK_TOKEN,token)

// 清除token
export const delToken = () => localStorage.removeItem(GEEK_TOKEN)

// 根据token有无 判断登录状态
export const isAust = () => !!getToken()
// ssss
